package com.qingfeng.provide.constant;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @description:
 * @author:LWY
 * @date: 2017/11/24 18:45
 * @modified:
 */
@ConfigurationProperties(prefix = "my")
@Component
public class MyConstant {
    private static Integer pageSize;

    public static Integer getPageSize() {
        return pageSize;
    }

    public static void setPageSize(Integer pageSize) {
        MyConstant.pageSize = pageSize;
    }
}
